<?php
session_start(); 

include 'library/config.php';
include 'library/connect.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Style2.css" />
<script type="text/javascript" src="AJAX.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">	 
		$(document).ready(function(){
			$("#top").hide();
			$(".loginForm").hide();
			$(".regDiv").hide();			
			$("#top").fadeIn("slow");			
			$(".login").click(function () {
			$(".login, .register, .separator").hide()
			$(".loginForm").fadeIn("slow");
			});			
			$(".searchBtn").click(function() {
			
			});			
			$(".register").click(function() {
				$(".movies").fadeOut("slow",function() {
				$(".regDiv").fadeIn("slow");
				});
			});				
			$(".home").click(function() {
				$(".regDiv").fadeOut("slow",function() {
				$(".movies").fadeIn("slow");
				});
			});					
		});	 
	</script>
<title>2view.be</title>
</head>
<body>
<div id="wrapper">
  <div id="header"> <img src="images/logo.jpg" alt="2view logo" title="2view.be"/> </div>
  <div id="navbar">
    <ul>
      <li id="LinkHome">Home</li>
      <li>|</li>
      <li id="LinkExplore">Explore</li>
    </ul>
  </div>
  <div id="content">
    <div id="Home">
      <div id="LatestMovies" style="float:left;width:320px;">
        <h3>Latest Movies</h3>
        <? require_once('latestMovie.php');?>
      </div>
      <div id="TopRated" style="float:left;width:320px;">
        <h3>Top Rated</h3>
        <? require_once('toprated.php');?>
      </div>
    </div>
  </div>
  <span style="display:block;clear:both;">&#160;</span> </div>
<div id="footer">&#169; Copyright Dave &#38; mister anonymous </div>
<!-- Dit mag je wegdoen als je wilt -->
<p>
    <a href="http://jigsaw.w3.org/css-validator/check/referer">
        <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss"
            alt="Valide CSS!" />
    </a>
</p>

</body>
</html>